package com.bdqn.dao;


import com.bdqn.pojo.UserPojo;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface UserMapper {

    public List<UserPojo> getUser1();
    public Object [] getUser(@Param("index")int index,@Param("sql")String sql);
    public List<UserMapper> getfy();
    public int getDel(@Param("id")int id);
    public int getUpdate(@Param("phone")String phone,@Param("email")String email,@Param("id")int id,@Param("address")String address,@Param("Paddress")String Paddress);
    public int getAdd(@RequestBody UserPojo userPojo);
    public int getqx(@Param("Permissions")String Permissions,@Param("id")String id);

}
